package com.ruoyi.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 器材使用记录对象 luntai_equipment_use_log
 *
 * @author ruoyi
 * @date 2025-02-17
 */
public class LuntaiEquipmentUseLogDto extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Integer id;

    private String equipmentName;
    private String model;

    private String price;

    /**
     * 使用人
     */
    private String userName;

    /**
     * 图片
     */
    private String img;

    /**
     * 增加 1 减少0
     */
    private Integer type;

    /**
     * 数量
     */
    private Integer num;

    /**
     * 申请id
     */
    private Integer requestId;

    /** 记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date useTime;

    @Override
    public String toString() {
        return "LuntaiEquipmentUseLogDto{" +
                "id=" + id +
                ", equipmentName='" + equipmentName + '\'' +
                ", model='" + model + '\'' +
                ", price='" + price + '\'' +
                ", userName='" + userName + '\'' +
                ", img='" + img + '\'' +
                ", type=" + type +
                ", num=" + num +
                ", requestId=" + requestId +
                ", useTime=" + useTime +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getRequestId() {
        return requestId;
    }

    public void setRequestId(Integer requestId) {
        this.requestId = requestId;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }
}
